package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 洗衣机消毒管理，用于记录洗衣机的消毒操作信息对象 hyrj_machine_disinfection
 * 
 * @author ruoyi
 * @date 2024-03-08
 */
public class HyrjMachineDisinfection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消毒记录ID，主键，自动增长 */
    private Long id;

    /** 洗衣机序列号，唯一标识洗衣机 */
    @Excel(name = "洗衣机序列号，唯一标识洗衣机")
    private String machineNo;

    /** 消毒时间，记录消毒操作的具体时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "消毒时间，记录消毒操作的具体时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disinfectionTime;

    /** 消毒方法，如化学消毒、物理消毒或其他 */
    @Excel(name = "消毒方法，如化学消毒、物理消毒或其他")
    private String disinfectionMethod;

    /** 消毒剂名称或类型 */
    @Excel(name = "消毒剂名称或类型")
    private String disinfectionAgent;

    /** 操作员ID，执行消毒操作的人员ID */
    @Excel(name = "操作员ID，执行消毒操作的人员ID")
    private Long operatorId;

    private String operatorName;

    /** 消毒状态，如已完成、待处理、失败等 */
    @Excel(name = "消毒状态，如已完成、待处理、失败等")
    private String disinfectionStatus;

    /** 是否检查洗衣机设备 */
    @Excel(name = "是否检查洗衣机设备")
    private Integer equipmentChecked;

    /** 备注，记录消毒过程中的其他重要信息或特殊情况 */
    @Excel(name = "备注，记录消毒过程中的其他重要信息或特殊情况")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMachineNo(String machineNo) 
    {
        this.machineNo = machineNo;
    }

    public String getMachineNo() 
    {
        return machineNo;
    }
    public void setDisinfectionTime(Date disinfectionTime) 
    {
        this.disinfectionTime = disinfectionTime;
    }

    public Date getDisinfectionTime() 
    {
        return disinfectionTime;
    }
    public void setDisinfectionMethod(String disinfectionMethod) 
    {
        this.disinfectionMethod = disinfectionMethod;
    }

    public String getDisinfectionMethod() 
    {
        return disinfectionMethod;
    }
    public void setDisinfectionAgent(String disinfectionAgent) 
    {
        this.disinfectionAgent = disinfectionAgent;
    }

    public String getDisinfectionAgent() 
    {
        return disinfectionAgent;
    }
    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }
    public void setDisinfectionStatus(String disinfectionStatus) 
    {
        this.disinfectionStatus = disinfectionStatus;
    }

    public String getDisinfectionStatus() 
    {
        return disinfectionStatus;
    }
    public void setEquipmentChecked(Integer equipmentChecked) 
    {
        this.equipmentChecked = equipmentChecked;
    }

    public Integer getEquipmentChecked() 
    {
        return equipmentChecked;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("machineNo", getMachineNo())
            .append("disinfectionTime", getDisinfectionTime())
            .append("disinfectionMethod", getDisinfectionMethod())
            .append("disinfectionAgent", getDisinfectionAgent())
            .append("operatorId", getOperatorId())
            .append("disinfectionStatus", getDisinfectionStatus())
            .append("equipmentChecked", getEquipmentChecked())
            .append("remarks", getRemarks())
            .toString();
    }
}
